import request from '@/utils/request'

// 分页查询校园卫生
export function getList(data) {
    return request({
        url: '/workmgr/major/pageList',
        method: 'post',
        data
    })
}


export function addOrUpdate(data) {
    return request({
        url: '/workmgr/major/addOrUpdate',
        method: 'Post',
        data
    })
}


export function deleteById(data) {
    return request({
        url: '/workmgr/major/deleteById',
        method: 'post',
        data
    })
}

